package events
{
	import mx.events.FlexEvent;

	public class LoginEvent extends FlexEvent
	{
		public static const Login : String = "events.loginevent.login";
		public static const OK : String = "events.loginevent.ok";
		
		private var _id : String;
		public function get id():String
		{
			return _id;
		}
		
		private var _key : String;
		public function get key():String
		{
			return _key;
		}
		
		public function LoginEvent(type:String, id:String = null, key:String = null, bubbles:Boolean=true, cancelable:Boolean=false)
		{
			_id = id;
			_key = key;
			super(type, bubbles, cancelable);
		}
		
	}
}